package chart;

import java.awt.Color;

/**
 *
 * Info of a ring segment
 */
public class Segment
{

  public String Label;
  public Color Color;
  public Double Value;
  public boolean Selected; // If selected

  public Segment()
  {
    Label = new String();
    Color = new Color(255, 255, 255);
    Value = 0.0;
    Selected = false;
  }

  public Segment(String label, Color color, Double value)
  {
    Label = label;
    Color = color;
    Value = value;
    Selected = false;
  }
}
